
<!DOCTYPE >
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>基本设置</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/right.css">
<script type="text/javascript" src="__PUBLIC__/home/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/home/js/system.js"></script>
<script type="text/javascript" src="__PUBLIC__/home/js/admin.js"></script>
</head>
<body style="overflow: auto;">
	<div class="basic bor">
			<div class="title fl">当前位置：视频管理 > 分类列表</div>
			<div class="basic_r fr"><a href="{:U('Index/setting')}">基本信息</a></div>
	</div>
	<form action="{:U('Vedio/addcate')}" method="post">
	<div class="addnav">
		<span class="navname">分类名称：</span>
		<input class="input127" type="text" name="name">
        <input class="submit addnew" name="submit" type="submit" value="添加" />
		<a class="submit fr addnews" href="{:U('Vedio/newsadd')}"  />添加视频</a>
	</div>
	</form>




<!-- ============================================================= -->

<table border="1"  class="table table-hover text-center">
  <tr class="trcolor">
    <td>排序</td>
    <td>分类名称</td>
    <td>分类等级</td>
    <td colspan="2">操作</td>

  </tr>

<!-- ==========================循环开始=================================== -->


<volist name="list" id="li">
  <tr>
    <td><input class="orde" type="text" onchange='onid("{$li.id}","sort","store_news_class")' sort_id="{$li.id}"  name="sort" value="{$li.sort}"></td>
    <td class="textleft "><span class="bg_clo">{$li.html}</span><input type="text" onchange='onid("{$li.id}","name","store_news_class")' name_id="{$li.id}" name="name" value="{$li.name}"></td>
    <td class="color12">{$li.level}级菜单</td>
    <td><span class="addname">
<if condition="$li[level] neq 2 "><a href="{:U('Vedio/addcate',array('id'=>$li[id]))}">添加子菜单</a></if>
    </span></td>
    <td><span class="addname"><a href="{:U('Vedio/delcate',array('uid'=>$li[id]))}"  onclick="return confirm('确定将此记录删除?')">删除</a></span></td>
  </tr>
</volist>


</table>
<!-- ============================================================= -->
<!-- 提示 -->
<p class="ts"><span class="colorf00">*</span><span class="ts_text"> 如果要修排序请直接点击文字修改。</span></p>
</body>
</html>